package ModelLayer;


/**
 * Write a description of class Person here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public abstract class Person
{
    // instance variables - replace the example below with your own
    private int id;
    private String name;
    private String address;
    private String city;
    private int zipCode;
    private String phoneNr;
    private String email;
    private double discount;
    /**
     * Constructor for objects of class Person
     */
    public Person(int _id, String _name, String _address, String _city, int _zipCode,
                  String _phoneNr, String _email, double _discount)
    {
        id = _id;
        name = _name;
        address = _address;
        city = _city;
        zipCode = _zipCode;
        phoneNr = _phoneNr;
        email = _email;
        discount = _discount;
    }
    
    public String getPhoneNr()
    {
        return phoneNr;
    }
    
    public String getName()
    {
        return name;
    }
    
    public String getAddress()
    {
        return address;
    }
    
    public String getCity()
    {
        return city;
    }
}
